@charset "utf-8";
:root{
    --bdcolor: rgba(42, 8, 69, .6);
    --bgcolor: rgba(103, 58, 183, 0.6);
    --layerBgc: #673ab7;
    --linearBgc: linear-gradient(to bottom, rgba(42, 8, 69,.6), rgba(100, 65, 165,1));
}
body{
    color: #fff;
    background: #00065b url("../images/bg.jpg") no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
/*nav*/
.tophead{
    background: url('../images/head.png') center no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 40px;
    position: relative;
    z-index: 1030;
}
.tophead > h3{
    text-align: center;
    line-height: 40px;
}
.layui-nav{
    background-color: transparent;
    padding: 0;
    /* top: 35px; */
    display: inline-block;
    left: 50%;
    transform: translateX(-47%);
}
.layui-nav .layui-nav-item{
    line-height: 40px;
}
.layui-nav .layui-this:after{
    background-color: transparent !important;
}
.layui-nav .layui-nav-more{
    right: 8px;
    border-width: 4px;
}
.layui-nav-bar{
    height: 0;
}
.layui-nav-child{
    left: 2px;
    top: 35px;
    border: 1px solid #0bb4b2;
    background: linear-gradient(to top, #0bb6b3, #002477);
}
.layui-nav .layui-nav-item a,.layui-nav .layui-nav-child a{
    color: #fff;
}
.topnav li {
    font-size: 14px;
    float: left;
    text-align: center;
}
.topnav li.layui-this {
    background: linear-gradient(to bottom, #3F51B5, transparent);
}
.topnav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this{
    background-color: rgba(1,202,217,.4);
}
.layui-nav .layui-nav-child a:hover{
    background-color: rgba(1,202,217,.4);
    color: #fff;
}
.layui-layer-ico{
    filter: invert(1);
}
/*清浮动*/
.clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

/*公共类*/
.fl {
    float: left;
}

.fr {
    float: right;
}

.fontBold {
    font-weight: 600;
}

.xycenter { /*水平垂直居中*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ycenter { /*垂直居中*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.one-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

.w20 {
    width: 20%;
}

.w50 {
    width: 50%;
}

.hidden {
    display: none;
}
/*主体盒子*/
.mainbody{
    width: 100%;
    /*height: calc(100% - 50px);*/
    height: 100%;
    /*position: absolute;*/
    /*top: 50px;*/
    /*padding: 0 15px;*/
    padding: 15px;
    box-sizing: border-box;
    overflow: auto;
}

/*滚动条*/
::-webkit-scrollbar , ::-webkit-scrollbar{
    /*display: none;*/
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(3, 169, 244, 0.6);
}
input:disabled{
    cursor: not-allowed !important;
}
/*lay-form 元素*/
.layui-input, .layui-select, .layui-textarea,.xm-select-parent .xm-input{
    color: #fff;
    border: 1px solid rgba(42, 8, 69, .6);
    background: linear-gradient(to bottom, rgba(42, 8, 69,.4), rgba(100, 65, 165,.4));
    border-radius: 5px;
}
.layui-input:hover, .layui-textarea:hover{
    border-color: #a279ea!important;
}
.layui-form-item dl{
    color: #fff;
    border: 1px solid rgba(42, 8, 69, .6);
    background: var(--linearBgc);
}
.layui-form-select dl dd.layui-this,.layui-form-select dl dd:hover,.xm-select-parent .xm-form-select dl dd:hover{
    background-color: #673AB7;
}
.xm-select-parent .xm-form-select dl .xm-select-tips{
    color: #fff;
    background-color: #673AB7 !important;
}
.xm-form-checkbox > span{
    color: #fff;
}
.layui-colla-content{
    color: #fff;
}
.layui-form-radio>i:hover, .layui-form-radioed>i {
    color: #1e9fff;
}
.btn-theme{
    background: linear-gradient(45deg, rgba(103, 58, 183, 1), rgba(33, 150, 243, 0.5));
    box-shadow: 1px 1px 1px rgba(63, 81, 181, 0.8);
}
.layui-form-pane .layui-form-label{
    border-color: rgba(42, 8, 69, .6);
}
/*layui-table*/
.layui-table-hover{
    background: var(--bgcolor);
}
.layui-table td, .layui-table th{
    padding: 5px 10px;
    border-color: var(--bdcolor);
}
.layui-table-view .layui-table th{
    padding: 5px 0;
}
.layui-table{
    background: linear-gradient(to bottom, rgba(82, 82, 82, .2), rgba(61, 114, 180, .2));
    color: #fff;
    box-sizing: border-box;
}
.layui-table-view,.layui-table-page{
    border-color: var(--bdcolor);
}
.layui-laypage span{
    color: #777;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em{
    background-color: var(--bgcolor);
}
.layui-laypage-skip input,.layui-laypage button{
    background: var(--bgcolor);
    border:1px solid var(--bdcolor);
    color: #fff;
}
.layui-laypage-limits select{
    border:1px solid var(--bdcolor);
    background: var(--bgcolor);
    color: #777;
}
.layui-table thead tr,.layui-table tbody tr:hover{
    background: var(--bgcolor);
}
.layui-table-header{
    background-color: var(--bgcolor);
    border-color: var(--bdcolor);
}
.layui-table-body .layui-none{
    color: #fff;
}
.layui-table-init{
    background-color: var(--bgcolor) !important;
}
.layui-table-tool,.layui-table-click{
    background-color: var(--bgcolor);
}
.layui-table-tool .layui-inline[lay-event]{
    color: #fff;
}
.layui-table-tool-panel{
    background-color: #673AB7;
}
/*layui-layer*/
body .layui-layer-title{
    background: var(--linearBgc);
    color: #fff;
}
body .layui-layer{
    background-color: var(--layerBgc);
}

/*小屏适应*/
/*menu-btn*/
.menu-btn{
    display: none;
}
.menu {
    width: 25px;
    height: 20px;
    position: relative;
    cursor: pointer;
}
.menu:before, .menu:after {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 8px;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.menu:before {
    top: 0px;
    box-shadow: 0 9px #fff;
}
.menu:after {
    bottom: 0;
}
.menu.on:before {
    top: 7px;
    box-shadow: none;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}
.menu.on:after {
    bottom: 10px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.menu-btn {
    position: absolute;
    top: 3px;
    right:20px;
    padding: 5px;
    background-color: #3F51B5;
    border: 1px solid;
    z-index: 999;
}
@media screen and (max-width: 480px){
    .page-name{
        font-size: 20px;
    }
    .menu-btn{
        display: block;
    }
    .tophead{
        height: 36px;
        left: 0;
    }
    .tophead .topnav{
        display: none;
    }
    .topnav.layui-nav-tree{
        position: absolute;
        top: 28px;
        right: 5px;
        background: rgba(0, 126, 183, .6);
    }
    .topnav.layui-nav-tree li{
        background: rgba(0, 188, 212, 0.2);
    }
    .topnav.layui-nav-tree li.layui-this{
        background: linear-gradient(to bottom right, #0bb6b3, #002477);
    }
    .layui-nav-itemed>.layui-nav-child{
        background-color: rgba(0, 187, 211, 0.1) !important;
    }
    .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover{
        background-color: rgba(255, 255, 255, 0.2);
    }
    .layui-nav-tree .layui-nav-item a:hover{
        background-color: rgba(255, 255, 255, 0.2);
    }
    .mainbody {
        top: 40px;
    }
}